<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Priithon.py.PyCrust.App</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="Priithon-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/priithon">Priithon</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="Priithon-module.html">Package&nbsp;Priithon</a> ::
        <a href="Priithon.py-module.html">Package&nbsp;py</a> ::
        <a href="Priithon.py.PyCrust-module.html">Module&nbsp;PyCrust</a> ::
        Class&nbsp;App
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="Priithon.py.PyCrust.App-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class App</h1><p class="nomargin-top"><span class="codelink"><a href="Priithon.py.PyCrust-pysrc.html#App">source&nbsp;code</a></span></p>
<center>
<center>  <map id="uml_class_diagram_for_priithon_42" name="uml_class_diagram_for_priithon_42">
<area shape="rect" id="node176" href="Priithon.py.PyCrust.App-class.html#OnInit" title="Priithon.py.PyCrust.App.OnInit" alt="" coords="233,1265,305,1284"/>
<area shape="rect" id="node1" href="Priithon.py.PyCrust.App-class.html" title="PyCrust standalone application." alt="" coords="221,1233,317,1290"/>
<area shape="rect" id="node177" href="wx._core.PyOnDemandOutputWindow-class.html" title="A class that can be used for redirecting Python&#39;s stdout and stderr &#160;streams." alt="" coords="17,1017,521,1036"/>
<area shape="rect" id="node177" href="javascript:void(0);" title="Deletes the C++ object this Python object is a proxy for." alt="" coords="17,1039,521,1057"/>
<area shape="rect" id="node177" href="javascript:void(0);" title="Execute the main GUI event loop" alt="" coords="17,1057,521,1076"/>
<area shape="rect" id="node177" href="javascript:void(0);" title="Things that must be done after _BootstrapApp has done its thing, but would &#160;be nice if they were already done by the time that OnInit is called." alt="" coords="17,1076,521,1095"/>
<area shape="rect" id="node177" href="javascript:void(0);" title="Redirect sys.stdout and sys.stderr to a file or a popup window." alt="" coords="17,1095,521,1113"/>
<area shape="rect" id="node177" href="javascript:void(0);" title="wx._core.App.RestoreStdio" alt="" coords="17,1113,521,1132"/>
<area shape="rect" id="node177" href="javascript:void(0);" title="Set the title, position and/or size of the output window if the stdio has &#160;been redirected." alt="" coords="17,1132,521,1151"/>
<area shape="rect" id="node177" href="javascript:void(0);" title="Set the &quot;main&quot; top level window" alt="" coords="17,1151,521,1169"/>
<area shape="rect" id="node177" href="javascript:void(0);" title="wx._core.App.__del__" alt="" coords="17,1169,521,1188"/>
<area shape="rect" id="node177" href="javascript:void(0);" title="Construct a ``wx.App`` object." alt="" coords="17,1188,521,1207"/>
<area shape="rect" id="node2" href="javascript:void(0);" title="The ``wx.App`` class represents the application and is used to:" alt="" coords="5,993,533,1213"/>
<area shape="rect" id="node180" href="javascript:void(0);" title="IsSameAs(self, Object p) &#45;&gt; bool" alt="" coords="185,39,352,57"/>
<area shape="rect" id="node3" href="javascript:void(0);" title="The base class for most wx objects, although in wxPython not much functionality is needed nor exposed." alt="" coords="173,6,363,63"/>
<area shape="rect" id="node179" href="javascript:void(0);" title="See `GetEvtHandlerEnabled` and `SetEvtHandlerEnabled`" alt="" coords="83,108,456,127"/>
<area shape="rect" id="node179" href="javascript:void(0);" title="See `GetNextHandler` and `SetNextHandler`" alt="" coords="83,127,456,145"/>
<area shape="rect" id="node179" href="javascript:void(0);" title="See `GetPreviousHandler` and `SetPreviousHandler`" alt="" coords="83,145,456,164"/>
<area shape="rect" id="node179" href="javascript:void(0);" title="repr(x)" alt="" coords="83,167,456,185"/>
<area shape="rect" id="node179" href="javascript:void(0);" title="wx._core.EvtHandler.GetNextHandler" alt="" coords="83,185,456,204"/>
<area shape="rect" id="node179" href="javascript:void(0);" title="wx._core.EvtHandler.GetPreviousHandler" alt="" coords="83,204,456,223"/>
<area shape="rect" id="node179" href="javascript:void(0);" title="SetNextHandler(self, EvtHandler handler)" alt="" coords="83,223,456,241"/>
<area shape="rect" id="node179" href="javascript:void(0);" title="SetPreviousHandler(self, EvtHandler handler)" alt="" coords="83,241,456,260"/>
<area shape="rect" id="node179" href="javascript:void(0);" title="wx._core.EvtHandler.GetEvtHandlerEnabled" alt="" coords="83,260,456,279"/>
<area shape="rect" id="node179" href="javascript:void(0);" title="SetEvtHandlerEnabled(self, bool enabled)" alt="" coords="83,279,456,297"/>
<area shape="rect" id="node179" href="javascript:void(0);" title="ProcessEvent(self, Event event) &#45;&gt; bool" alt="" coords="83,297,456,316"/>
<area shape="rect" id="node179" href="javascript:void(0);" title="AddPendingEvent(self, Event event)" alt="" coords="83,316,456,335"/>
<area shape="rect" id="node179" href="javascript:void(0);" title="Connect(self, int id, int lastId, int eventType, PyObject func)" alt="" coords="83,335,456,353"/>
<area shape="rect" id="node179" href="javascript:void(0);" title="Disconnect(self, int id, int lastId=&#45;1, EventType eventType=wxEVT_NULL, ..." alt="" coords="83,353,456,372"/>
<area shape="rect" id="node179" href="javascript:void(0);" title="Bind an event to an event handler." alt="" coords="83,372,456,391"/>
<area shape="rect" id="node179" href="javascript:void(0);" title="Disconnects the event handler binding for event from self." alt="" coords="83,391,456,409"/>
<area shape="rect" id="node4" href="javascript:void(0);" title="Proxy of C++ EvtHandler class" alt="" coords="71,83,468,415"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="IsActive(self) &#45;&gt; bool" alt="" coords="183,460,355,479"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="See `GetAppName` and `SetAppName`" alt="" coords="183,479,355,497"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="See `GetAssertMode` and `SetAssertMode`" alt="" coords="183,497,355,516"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="See `GetClassName` and `SetClassName`" alt="" coords="183,516,355,535"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="See `GetExitOnFrameDelete` and `SetExitOnFrameDelete`" alt="" coords="183,535,355,553"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="See `GetLayoutDirection`" alt="" coords="183,553,355,572"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="See `GetPrintMode` and `SetPrintMode`" alt="" coords="183,572,355,591"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="See `GetTopWindow` and `SetTopWindow`" alt="" coords="183,591,355,609"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="See `GetTraits`" alt="" coords="183,609,355,628"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="See `GetUseBestVisual` and `SetUseBestVisual`" alt="" coords="183,628,355,647"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="See `GetVendorName` and `SetVendorName`" alt="" coords="183,647,355,665"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="The membership flag" alt="" coords="183,665,355,684"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="Process the first event in the event queue (blocks until an event appears &#160;if there are none currently)" alt="" coords="183,687,355,705"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="Exit the main loop thus terminating the application." alt="" coords="183,705,355,724"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="Exit the main GUI loop during the next iteration of the main loop, (i.e." alt="" coords="183,724,355,743"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="FilterEvent(self, Event event) &#45;&gt; int" alt="" coords="183,743,355,761"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="Get the application name." alt="" coords="183,761,355,780"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="Get the current OnAssert behaviour setting." alt="" coords="183,780,355,799"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="Returns the state of the Call FilterEvent flag." alt="" coords="183,799,355,817"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="Get the application&#39;s class name." alt="" coords="183,817,355,836"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="Returns 400, 470, 471, etc." alt="" coords="183,836,355,855"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="Get the current exit behaviour setting." alt="" coords="183,855,355,873"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="Return the layout direction for the current locale." alt="" coords="183,873,355,892"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="wx._core.PyApp.GetMacAboutMenuItemId" alt="" coords="183,892,355,911"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="wx._core.PyApp.GetMacExitMenuItemId" alt="" coords="183,911,355,929"/>
<area shape="rect" id="node178" href="javascript:void(0);" title="wx._core.PyApp.__swig_destroy__" alt="" coords="183,948,355,967"/>
<area shape="rect" id="node5" href="javascript:void(0);" title="The ``wx.PyApp`` class is an *implementation detail*, please use the `wx.App` class (or some other derived class) instead." alt="" coords="171,435,365,973"/>
</map>
  <img src="uml_class_diagram_for_priithon_42.gif" alt='' usemap="#uml_class_diagram_for_priithon_42" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<p>PyCrust standalone application.</p>

<!-- ==================== NESTED CLASSES ==================== -->
<a name="section-NestedClasses"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Nested Classes</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-NestedClasses"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>wx._core.App</code></b>:
      <code><a href="wx._core.PyOnDemandOutputWindow-class.html">outputWindowClass</a></code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="OnInit"></a><span class="summary-sig-name">OnInit</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.py.PyCrust-pysrc.html#App.OnInit">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>wx._core.App</code></b>:
      <code>Destroy</code>,
      <code>MainLoop</code>,
      <code>OnPreInit</code>,
      <code>RedirectStdio</code>,
      <code>RestoreStdio</code>,
      <code>SetOutputWindowAttributes</code>,
      <code>SetTopWindow</code>,
      <code>__del__</code>,
      <code>__init__</code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>wx._core.PyApp</code></b>:
      <code>Dispatch</code>,
      <code>Exit</code>,
      <code>ExitMainLoop</code>,
      <code>FilterEvent</code>,
      <code>GetAppName</code>,
      <code>GetAssertMode</code>,
      <code>GetCallFilterEvent</code>,
      <code>GetClassName</code>,
      <code>GetExitOnFrameDelete</code>,
      <code>GetLayoutDirection</code>,
      <code>GetPrintMode</code>,
      <code>GetTopWindow</code>,
      <code>GetTraits</code>,
      <code>GetUseBestVisual</code>,
      <code>GetVendorName</code>,
      <code>IsActive</code>,
      <code>MacHideApp</code>,
      <code>MacRequestUserAttention</code>,
      <code>Pending</code>,
      <code>ProcessIdle</code>,
      <code>ProcessPendingEvents</code>,
      <code>SendIdleEvents</code>,
      <code>SetAppName</code>,
      <code>SetAssertMode</code>,
      <code>SetCallFilterEvent</code>,
      <code>SetClassName</code>,
      <code>SetExitOnFrameDelete</code>,
      <code>SetPrintMode</code>,
      <code>SetUseBestVisual</code>,
      <code>SetVendorName</code>,
      <code>WakeUpIdle</code>,
      <code>Yield</code>,
      <code>__swig_destroy__</code>
      </p>
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>wx._core.PyApp</code></b> (private):
      <code>_BootstrapApp</code>,
      <code>_setCallbackInfo</code>
      </p></div>
    <p class="indent-wrapped-lines"><b>Inherited from <code>wx._core.EvtHandler</code></b>:
      <code>AddPendingEvent</code>,
      <code>Bind</code>,
      <code>Connect</code>,
      <code>Disconnect</code>,
      <code>GetEvtHandlerEnabled</code>,
      <code>GetNextHandler</code>,
      <code>GetPreviousHandler</code>,
      <code>ProcessEvent</code>,
      <code>SetEvtHandlerEnabled</code>,
      <code>SetNextHandler</code>,
      <code>SetPreviousHandler</code>,
      <code>Unbind</code>,
      <code>__repr__</code>
      </p>
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>wx._core.EvtHandler</code></b> (private):
      <code>_setOORInfo</code>
      </p></div>
    <p class="indent-wrapped-lines"><b>Inherited from <code>wx._core.Object</code></b>:
      <code>IsSameAs</code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__setattr__</code>,
      <code>__str__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== STATIC METHODS ==================== -->
<a name="section-StaticMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Static Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-StaticMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>wx._core.PyApp</code></b>:
      <code>GetComCtl32Version</code>,
      <code>GetMacAboutMenuItemId</code>,
      <code>GetMacExitMenuItemId</code>,
      <code>GetMacHelpMenuTitleName</code>,
      <code>GetMacPreferencesMenuItemId</code>,
      <code>GetMacSupportPCMenuShortcuts</code>,
      <code>IsDisplayAvailable</code>,
      <code>IsMainLoopRunning</code>,
      <code>SetMacAboutMenuItemId</code>,
      <code>SetMacExitMenuItemId</code>,
      <code>SetMacHelpMenuTitleName</code>,
      <code>SetMacPreferencesMenuItemId</code>,
      <code>SetMacSupportPCMenuShortcuts</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Properties</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Properties"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>wx._core.PyApp</code></b>:
      <code>Active</code>,
      <code>AppName</code>,
      <code>AssertMode</code>,
      <code>ClassName</code>,
      <code>ExitOnFrameDelete</code>,
      <code>LayoutDirection</code>,
      <code>PrintMode</code>,
      <code>TopWindow</code>,
      <code>Traits</code>,
      <code>UseBestVisual</code>,
      <code>VendorName</code>,
      <code>thisown</code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>wx._core.EvtHandler</code></b>:
      <code>EvtHandlerEnabled</code>,
      <code>NextHandler</code>,
      <code>PreviousHandler</code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="Priithon-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/priithon">Priithon</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Mon Nov 22 14:59:39 2010
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
